(a) the amount by which the particular amount that the corporation would be deemed, if the assumptions set out in the second paragraph were taken into account, to have paid to the Minister, in respect of the share, under subparagraphs a to c of the first paragraph of section 1029.8.36.169 or 1029.8.36.171, as the case may be, for its taxation year in which the particular fiscal period ends, exceeds the aggregate ofi. the amount that the corporation would be deemed to have paid to the Minister under subparagraphs a to c of the first paragraph of section 1029.8.36.169 or 1029.8.36.171, as the case may be, for its taxation year in which the particular fiscal period ends, in respect of the share, if the agreed proportion in respect of the corporation for the particular fiscal period were the same as that for the fiscal period of repayment, and
ii. any amount that the corporation would be deemed to have paid to the Minister under this subparagraph for a taxation year preceding the taxation year in which the fiscal period of repayment ends, in respect of an amount of that assistance repaid by the corporation, if the agreed proportion in respect of the corporation for the particular fiscal period were the same as that for the fiscal period of repayment; and
(b) the amount by which the aggregate of all amounts each of which is a particular amount that the corporation would be deemed, if the assumptions set out in the second paragraph were taken into account, to have paid to the Minister, in respect of the share, under subparagraphs d and e of the first paragraph of section 1029.8.36.169 or 1029.8.36.171, as the case may be, for its taxation year in which the particular fiscal period ends, or under section 1029.8.36.171.1 or 1029.8.36.171.2 for another taxation year that precedes the taxation year in which the fiscal period of repayment ends, exceeds the aggregate ofi. the aggregate of all amounts each of which is an amount that the corporation would be deemed to have paid to the Minister, in respect of the share, under subparagraphs d and e of the first paragraph of section 1029.8.36.169 or 1029.8.36.171, as the case may be, for its taxation year in which the particular fiscal period ends, or under section 1029.8.36.171.1 or 1029.8.36.171.2 for another taxation year that precedes the taxation year in which the fiscal period of repayment ends, if the agreed proportion in respect of the corporation for the particular fiscal period were the same as that for the fiscal period of repayment, and
ii. any amount that the corporation would be deemed to have paid to the Minister under this subparagraph for a taxation year preceding the taxation year in which the fiscal period of repayment ends, in respect of an amount of that assistance repaid by the corporation, if the agreed proportion in respect of the corporation for the particular fiscal period were the same as that for the fiscal period of repayment.