to make grants under the emergency solutions grant program authorized under subtitle B of title IV of the McKinney-Vento Homeless Assistance Act ( 42 U.S.C. 11371 et seq. ). (b) Maximum allocation for emergency shelter activities A recipient of a grant using amounts appropriated under subsection (a) in any fiscal year may not use an amount of the assistance for emergency shelter activities that exceeds the greater of— (1) 40 percent of the aggregate amount of that assistance provided for the grantee for that fiscal year