(a) the corporation is deemed to be a member of a particular partnership at the end of a particular fiscal period of the particular partnership and that particular fiscal period is deemed to end in the corporation’s taxation year in which ends the fiscal period of the interposed partnership of which it is directly a member, ifi. the particular fiscal period is that which ends in the fiscal period (in this section referred to as the “interposed fiscal period”) of the interposed partnership that is a member of the particular partnership at the end of that particular fiscal period, and
ii. the corporation is a member, or deemed to be a member under this paragraph, of the interposed partnership described in subparagraph i at the end of the interposed partnership’s interposed fiscal period; and
(b) for the purpose of determining the corporation’s share in an amount in respect of the given partnership for the given fiscal period, the agreed proportion in respect of the corporation for that fiscal period of the given partnership is deemed to be equal to the product obtained by multiplying the agreed proportion in respect of the corporation for the interposed fiscal period of the interposed partnership of which it is directly a member, byi. if there is only one interposed partnership, the agreed proportion in respect of the interposed partnership for the given partnership’s given fiscal period, or
ii. if there is more than one interposed partnership, the result obtained by multiplying together all proportions each of which is the agreed proportion in respect of an interposed partnership for the particular fiscal period of the particular partnership referred to in paragraph a of which the interposed partnership is a member at the end of that particular fiscal period.