(b) B is the portion of the amount by which the fair market value (determined without reference to this section) of the interest of the subsidiary in the partnership at the time the parent last acquired control of the subsidiary exceeds its cost amount at that time as may reasonably be regarded as attributable at that time to the aggregate of all amounts each of which isi. in the case of a depreciable property held directly by the partnership or held indirectly by the partnership through one or more other partnerships, the amount by which the fair market value (determined without reference to liabilities) of the property exceeds its cost amount,
ii. in the case of a Canadian resource property or a foreign resource property held directly by the partnership or held indirectly by the partnership through one or more other partnerships, the fair market value (determined without reference to liabilities) of the property, or
iii. in the case of a property that is not a capital property, a Canadian resource property or a foreign resource property and that is held directly by the partnership or held indirectly through one or more other partnerships, the amount by which the fair market value (determined without reference to liabilities) of the property exceeds its cost amount.