the amount of such allocation does not exceed the limitation under clause (ii). (ii) Limitation The limitation under this clause is the amount of credit allowable under this section (without regard to this subsection) for a taxable year with respect to an increase in the qualified basis of the building equal to the excess of— (I) the qualified basis of such building as of the close of the 1st taxable year to which such allocation will apply, over (II) the qualified basis of such building as of the close of the 1st taxable year to which the most recent prior housing credit allocation with respect to such building applied. (iii) Housing credit dollar amount reduced by full allocation Notwithstanding clause (i), the full amount of the allocation shall be taken into account under paragraph (2). (E) Exception where 10 percent of cost incurred (i) In general An allocation meets the requirements of this subparagraph if such allocation is made with respect to a qualified building which is placed in service not later than the close of the second calendar year following the calendar year in which the allocation is made. (ii) Qualified building For purposes of clause (i), the term qualified building means any building which is part of a project if the taxpayer's basis in such project (as of the date which is 1 year after the date that the allocation was made) is more than 10 percent of the taxpayer's reasonably expected basis in such project (as of the close of the second calendar year referred to in clause (i)). Such term does not include any existing building unless a credit is allowable under subsection (e) for rehabilitation expenditures paid or incurred by the taxpayer with respect to such building for a taxable year ending during the second calendar year referred to in clause (i) or the prior taxable year. (F) Allocation of credit on a project basis (i) In general In the case of a project which includes (or will include) more than 1 building, an allocation meets the requirements of this subparagraph if— (I) the