distribution to local educational agencies under this paragraph, the State educational agency or State entity, shall, in carrying out the grant competition— (i) award to high-need local educational agencies, in the aggregate, not less than an amount which bears the same relationship to such total amount as the aggregate amount such high-need local educational agencies received under part A of title I of the Elementary and Secondary Education Act of 1965 ( 20 U.S.C. 6311 et seq.) for the fiscal year preceding the fiscal year for which the determination is made bears to the aggregate amount received for such preceding fiscal year under such part by all local educational agencies in the State