(b) the amount determined under section 158.4 in respect of the expenditure for a taxation year is deemed to be the amount determined under subparagraph c of the first paragraph of section 158.4 in respect of the expenditure for the year where the year includes the time that is immediately before the first time, after the disposition or expiry,i. at which the right would, if it were owned by the taxpayer, be deemed by Chapter I of Title I.1 of Book VI or section 999.1 to have been disposed of by the taxpayer,
ii. that is immediately before control of the taxpayer is acquired by a person or group of persons, if the taxpayer is a corporation,
iii. at which winding-up of the taxpayer begins, other than a winding-up to which sections 556 to 564.1 and 565 apply, if the taxpayer is a corporation,
iv. where section 158.8 applies otherwise than because of paragraph b thereof, at which a 30-day period begins throughout which neither the taxpayer nor a person affiliated, or who does not deal at arm’s length, with the taxpayer owns the substituted property, or a property that is identical to the substituted property and that was acquired after the day that is 31 days before the period began, or
v. where section 158.8 applies otherwise than because of paragraph a thereof, at which a 30-day period begins throughout which no taxpayer who had an interest, directly or indirectly, in the right has an interest, directly or indirectly, in another right to receive production if one or more of those direct or indirect interests in the other right is a tax shelter or tax shelter investment as defined by section 851.38.