; (4) shall distribute the obligation authority provided by subsection (a), less the aggregate amounts not distributed under paragraphs (1) and (2), for each of the programs (other than programs to which paragraph (1) applies) that are allocated by the Secretary under this Act and title 23, United States Code, or apportioned by the Secretary under sections 202 or 204 of that title, by multiplying— (A) the proportion determined under paragraph (3); by (B) the amounts authorized to be appropriated for each such program for the fiscal year; and (5) shall distribute the obligation authority provided by subsection (a), less the aggregate amounts not distributed under paragraphs (1) and (2) and the amounts distributed under paragraph (4), for Federal-aid highway and highway safety construction programs that are apportioned by the Secretary under title 23, United States Code (other than the amounts apportioned for the national highway performance program in section 119 of title 23, United States Code, that are exempt from the limitation under subsection (b)(14) and the amounts apportioned under sections 202 and 204 of that title) in the proportion that— (A) amounts authorized to be appropriated for the programs that are apportioned under title 23, United States Code, to each State for the fiscal year; bears to (B) the total of the amounts authorized to be appropriated for the programs that are apportioned under title 23, United States Code, to all States for the fiscal year. (d) Redistribution of unused obligation authority Notwithstanding subsection (c), the Secretary shall, after August 1 of each of fiscal years 2021 through 2025— (1) revise a distribution of the obligation authority made available under subsection (c) if an amount distributed cannot be obligated during that fiscal year