function setFinalizeAgent(FinalizeAgent addr) public onlyOwner {
    assert(address(addr) != address(0));
    assert(address(finalizeAgent) == address(0));
    finalizeAgent = addr;

    
    if(!finalizeAgent.isFinalizeAgent()) {
      throw;
    }
  }