627. The person contemplated in section 626 is deemed to receive, as consideration for the disposition of his interest in the partnership, an amount equal to the greater of:(a) the aggregate of the adjusted cost base of his interest in the partnership immediately before the particular time, and the adjusted cost base to him of each other interest in the partnership deemed under section 632 to have been acquired by him at the particular time; and
(b) the aggregate of the cost amount, to the partnership, immediately before the particular time, of each property so received by that person and of the amount of any other proceeds from the disposition of his interest in the partnership.