(g) The state comptroller may not deduct from the amounts payable under section 5(a)(2) of this chapter to Gary in a particular state fiscal year an amount greater than the difference between the amount payable to Gary under section 5(a)(2) of this chapter and the base year revenue determined for Gary under subsection (c). If the total amount of the supplemental payments determined for qualified cities exceeds the amount that may be deducted under this section, the amount paid to each qualified city entitled to a supplemental payment must be determined under STEP FOUR the following formula: STEP ONE: Determine the difference between the qualified city's base year revenue and the amount payable to the qualified city under section 5(a)(2) of this chapter for the particular state fiscal year.
STEP TWO: Determine the sum of the STEP ONE results for all qualified cities entitled to a supplemental payment in the particular state fiscal year.
STEP THREE: Determine for each qualified city entitled to a supplemental payment in the particular state fiscal year the quotient of:
(A) the STEP ONE result for the qualified city; divided by(B) the STEP TWO result. STEP FOUR: Determine for each qualified city entitled to a supplemental payment in the particular state fiscal year the product of:
(A) the STEP THREE quotient; multiplied by(B) the maximum amount that may be deducted from the amounts payable under section 5(a)(2) of this chapter for Gary.