; (2) permits a single application for the grant and the associated loan; and (3) provides a single decision to award the grant and the associated loan. (d) Priority In making grants under this section, the Secretary shall prioritize applications in which the applicant proposes to— (1) provide the highest quality of service as measured by— (A) network speed; (B) network latency; and (C) data allowances; (2) serve the greatest number of service points; and (3) use the greatest proportion of non-Federal dollars. (e) Amount The Secretary shall make each grant under this section in an amount that is— (1) not greater than 75 percent of the total project cost with respect to an area with a density of less than 4; (2) not greater than 50 percent of the total project cost with respect to an area with a density of 4 or more and not more than 9; and (3) not greater than 25 percent of the total project cost with respect to an area with a density of more than 9 and not more than 12. (f) Terms and conditions With respect to a grant provided under this section, the Secretary shall require that— (1) the associated loan is secured by the assets purchased with funding from the grant and from the loan; (2) the agreement in which the terms of the grant are established is for a period equal to the duration of the associated loan