is amended by striking plus at the end of clause (iii), by striking the period at the end of clause (iv) and inserting , plus , and by inserting after clause (iv) the following: (v) the qualified single-family housing amount determined under subparagraph (J). . (b) Qualified single-Family housing amount (1) In general Section 42(h)(3) of the Internal Revenue Code of 1986 is amended by adding at the end the following new subparagraph: (J) Qualified single-family housing amount The qualified single-family housing amount determined under this subparagraph for any calendar year is an amount equal to the sum of— (i) 10 percent of the amount determined under subparagraph (C)(ii) for such calendar year (determined after application of subparagraph (H)), (ii) the excess (if any) of the amount described in clause (i) for the preceding calendar year over the amounts allocated to projects described in paragraph (9) for such preceding calendar year, (iii) the amount allocated within the State (not in excess of the amount determined under this subparagraph for the preceding calendar year reduced by the amount described in clause (ii) for the second preceding calendar year) for any project— (I) which is described in paragraph (9) and which fails to meet the 10 percent test under paragraph (1)(E)(ii) on a date after the close of the calendar year in which the allocation was made, (II) which does not become a qualified low-income housing project described in paragraph (9) within the period required by this section or the terms of the allocation, or (III) which is described in paragraph (9) and with respect to which an allocation is cancelled by mutual consent of the housing credit agency and the allocation recipient, plus (iv) the amount, if any, determined under subparagraph (D), applied— (I) by substituting unused qualified single-family housing carryover for unused housing credit carryover in clause (i) thereof, (II) without regard to clause (ii) thereof, (III) by substituting unused qualified single-family housing