; (B) shall agree to prioritize the improvement of the facilities of public schools that serve the highest percentages of students who are eligible for a free or reduced price lunch under the Richard B. Russell National School Lunch Act ( 42 U.S.C. 1751 et seq.) (which, in the case of a high school, may be calculated using comparable data from the schools that feed into the high school), as compared to other public schools in the jurisdiction of the agency; and (C) may be among the local educational agencies in the State— (i) with the greatest need to improve public school facilities, as determined by the State, which may include consideration of threats posed by the proximity of the facilities to toxic sites or the vulnerability of the facilities to natural disasters; and (ii) with the most limited capacity to raise funds for the long-term improvement of public school facilities, as determined by an assessment of— (I) the current and historic ability of the agency to raise funds for construction, renovation, modernization, and major repair projects for schools; (II) whether the agency has been able to issue bonds or receive other funds to support school construction projects; and (III) the bond rating of the agency. (2) Geographic distribution The State shall ensure that grants under this section are awarded to qualified local educational agencies that represent the geographic diversity of the State. (c) Priority of grants In awarding grants under this section, the State— (1) shall give priority to qualified local educational agencies that— (A) demonstrate the greatest need for such a grant, as determined by a comparison of the factors described in subsection (b); (B) will use the grant to improve the facilities of— (i) elementary schools or middle schools that have an enrollment of students who are eligible for a free or reduced price lunch under the Richard B. Russell National School Lunch Act ( 42 U.S.C. 1751 et seq.) that constitutes not less than 40 percent of the total student enrollment at such schools