i. the amount by which the aggregate of the fair market value of the building at the particular time referred to in section 93.1 and the fair market value of the land immediately before its disposition exceeds the lesser of(1) the fair market value of the land immediately before its disposition, and
(2) the amount by which the cost amount to the vendor of the land, determined without reference to this section and sections 93.1 and 93.3, exceeds the aggregate of the capital gains, determined without reference to subparagraph b of the first paragraph and the second paragraph of section 234, in respect of dispositions of the land within three years before the particular time by the taxpayer or by a person with whom the taxpayer was not dealing at arm’s length to the taxpayer or to another person with whom the taxpayer was not dealing at arm’s length, and