(B). (ii) Except as provided by subparagraph (D)(ii), for each academic year occurring after the academic year specified in clause (i), the amount shall be the total amount the educational institution paid under this section for work-study allowance to individuals enrolled at such educational institution during the previous academic year in which individuals enrolled at such educational institution participated in the work-study program. (D) (i) Except as provided in clause (ii), if the Secretary provides an annual amount to an educational institution under subparagraph (B) or (C) that is more than the total amount the educational institution pays to individuals under paragraph (1), the educational institution shall return to the Secretary the unpaid amount and the Secretary shall transfer such amount into the general fund of the Treasury. (ii) If the annual amount provided to an educational institution under subparagraph (B) or (C) is more, but less than ten percent more, than the total amount the educational institution pays to individuals under paragraph (1), and the educational institution plans to participate in the work-study program under this section during the subsequent academic year, the educational institution may retain the amount of the overpayment if the educational institution notifies the Secretary of the amount of the overpayment and the intention of the educational institution to retain such amount. Any amount retained by an educational institution under this clause may only be used by the educational institution to provide work-study allowance to individuals enrolled at the educational institution. (iii) At any time an educational institution may request the Secretary to increase the annual amount that the Secretary provides the educational institution under subparagraph (B) or (C). (E) Pursuant to section 3690(c), section 3693, and other provisions of chapter 36 of this title, the Secretary shall ensure that educational institutions carry out the work-study allowance program in compliance