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 allocation is made to the project for a calendar year during the project period, (II) the allocation only applies to buildings placed in service during or after the calendar year for which the allocation is made, and (III) the portion of such allocation which is allocated to any building in such project is specified not later than the close of the calendar year in which the building is placed in service. (ii) Project period For purposes of clause (i), the term project period means the period— (I) beginning with the 1st calendar year for which an allocation may be made for the 1st building placed in service as part of such project, and (II) ending with the calendar year the last building is placed in service as part of such project. (2) Allocated credit amount to apply to all taxable years ending during or after credit allocation year Any housing credit dollar amount allocated to any building for any calendar year— (A) shall apply to such building for all taxable years in the credit period ending during or after such calendar year, and (B) shall reduce the aggregate housing credit dollar amount of the allocating agency only for such calendar year. (3) Housing credit dollar amount for agencies (A) In general The aggregate housing credit dollar amount which a housing credit agency may allocate for any calendar year is the portion of the State housing credit ceiling allocated under this paragraph for such calendar year to such agency. (B) State ceiling initially allocated to State housing credit agencies Except as provided in subparagraph (D), the State housing credit ceiling for each calendar year shall be allocated to the housing credit agency of such State. If there is more than 1 housing credit agency of a State, all such agencies shall be treated as a single