; (3) $1,550,000,000 shall be for administrative and other expenses of public housing agencies in administering the section 8 tenant-based rental assistance program, of which up to $10,000,000 shall be available to the Secretary to allocate to public housing agencies that need additional funds to administer their section 8 programs, including fees associated with section 8 tenant protection rental assistance, the administration of disaster related vouchers, Veterans Affairs Supportive Housing vouchers, and other special purpose incremental vouchers: Provided , That no less than $1,540,000,000 of the amount provided in this paragraph shall be allocated to public housing agencies for the calendar year 2018 funding cycle based on section 8(q) of the Act (and related Appropriation Act provisions) as in effect immediately before the enactment of the Quality Housing and Work Responsibility Act of 1998 ( Public Law 105–276 ): Provided further , That if the amounts made available under this paragraph are insufficient to pay the amounts determined under the previous proviso, the Secretary may decrease the amounts allocated to agencies by a uniform percentage applicable to all agencies receiving funding under this paragraph or may, to the extent necessary to provide full payment of amounts determined under the previous proviso, utilize unobligated balances, including recaptures and carryovers, remaining from funds appropriated to the Department of Housing and Urban Development under this heading from prior fiscal years, excluding special purpose vouchers, notwithstanding the purposes for which such amounts were appropriated: Provided further , That all public housing agencies participating in the MTW demonstration shall be funded pursuant to their MTW agreements, and in accordance with the requirements of the MTW program and shall be subject to the same uniform percentage decrease as under the previous proviso: Provided further , That amounts provided under this paragraph shall be only for activities related to the