; and (bb) the amount allocated to the State or Indian tribe for fiscal year 2018. (iii) Fiscal year 2023 For fiscal year 2023, the Secretary shall allocate to each State and Indian tribe the amount reallocated to the State or Indian tribe under subparagraph (B), if the State or Indian tribe has committed the full amount of the allocation of the State or Indian tribe for fiscal year 2022 to eligible projects. (B) Reallocation of uncommitted funds (i) Fiscal year 2020 through 2022 For each of fiscal years 2020 through 2022, the Secretary shall reallocate in accordance with clause (iii) any amount available for distribution under this subsection that has not been committed to eligible projects in the preceding 2 fiscal years, among the States and Indian tribes that have committed to eligible projects the full amount of the annual allocation of the State or Indian tribe for the preceding fiscal year as described in clause (iii). (ii) Fiscal year 2023 For fiscal year 2023, the Secretary shall reallocate in accordance with clause (iii) any amount available for distribution under this subsection that has not been committed to eligible projects or distributed under subparagraph (A)(iii), among the States and Indian tribes that have committed to eligible projects the full amount of the annual allocation of the State or Indian tribe for fiscal year 2022. (iii) Amount of reallocation The amount reallocated to each State and Indian tribe under each of clauses (i) and (ii) shall be determined by the Secretary to reflect, to the extent practicable— (I) the proportion of unreclaimed eligible land and waters the State or Indian tribe has in the inventory maintained under section 403(c)