; and (ii) waive the allocation reduction for award year 2018–2019 for an institution of higher education that is eligible under subparagraph (B) returning more than 10 percent of its allocation under such section 413D or 442 of the Higher Education Act of 1965 for award year 2017–2018. (B) Institutions eligible for reallocation An institution of higher education is eligible under this subparagraph if the institution— (i) participates in the program for which excess allocations are being reallocated; and (ii) (I) is located in an affected area; or (II) has enrolled or accepted for enrollment any affected students in award year 2017–2018. (C) Basis of reallocation The Secretary shall— (i) determine the manner in which excess allocations will be reallocated pursuant to this paragraph; and (ii) give preference in making reallocations to the needs of institutions of higher education located in an affected area. (D) Additional waiver authority Notwithstanding any other provision of law, in order to carry out this paragraph, the Secretary may waive or modify any statutory or regulatory provision relating to the reallocation of excess allocations under subpart 3 of part A or part C of title IV of the Higher Education Act of 1965 ( 20 U.S.C. 1070b et seq. and 1087–51 et seq.) in order to ensure that assistance is received by institutions of higher education that are eligible under subparagraph (B). (3) Availability of funds date extension Notwithstanding any other provision of law— (A) any funds available to the Secretary under sections 413A and 441 of the Higher Education Act of 1965 ( 20 U.S.C. 1070b and 1087–51) for which the period of availability would otherwise expire on September 30, 2017, shall be available for obligation by the Secretary until September 30, 2018, for the purposes of the programs authorized pursuant to subpart 3 of part A and part C of title IV of the Higher Education Act of 1965 ( 20 U.S.C. 1070b et seq. and 1087–51 et seq.)