be considered for allocations of housing credit dollar amount. This subparagraph shall not apply to the notice and opportunity to comment requirement for chief executive officers (or the equivalent) of local jurisdictions under subparagraph (A)(ii). (2) Credit allocated to building not to exceed amount necessary to assure project feasibility (A) In general The housing credit dollar amount allocated to a project shall not exceed the amount the housing credit agency determines is necessary for the financial feasibility of the project and its viability as a qualified middle-income housing project throughout the credit period. (B) Agency evaluation In making the determination under subparagraph (A), the housing credit agency shall consider— (i) the sources and uses of funds and the total financing planned for the project, (ii) any proceeds or receipts expected to be generated by reason of tax benefits, (iii) the percentage of the housing credit dollar amount used for project costs other than the cost of intermediaries, and (iv) the reasonableness of the developmental and operational costs of the project. Clause (iii) shall not be applied so as to impede the development of projects in hard-to-develop areas. Such a determination shall not be construed to be a representation or warranty as to the feasibility or viability of the project. (C) Determination made when credit amount applied for and when building placed in service (i) In general A determination under subparagraph (A) shall be made as of each of the following times: (I) The application for the housing credit dollar amount. (II) The allocation of the housing credit dollar amount. (III) The date the building is placed in service. (ii) Certification as to amount of other subsidies Prior to each determination under clause (i), the taxpayer shall certify to the housing credit agency the full extent of all Federal, State, and local subsidies which apply (or which the taxpayer expects to apply) with respect to the building. (m) Regulations The Secretary shall