; and (B) by inserting plus the unused middle-income State housing credit (as so defined) after as defined in subparagraph (C)(i)) . (d) Reduction in basis Section 1016(a) of the Internal Revenue Code of 1986 is amended— (1) by striking and at the end of paragraph (37); (2) by redesignating paragraph (38) as paragraph (39)