on such agreement being reached, the board of directors shall arrange for an accounting of the assets and liabilities of the company and for the assets to be disposed of in such manner as the parties may decide. thereafter, the balance of the property remaining after paying or making due and proper provision for the liabilities actual and contingent shall be divided among the parties in proportion to their shareholdings in the company