; recovery of net costs (A) Definition of net cost In this paragraph, the term net cost means an amount by which Federal expenditures (including disbursement of loan proceeds) for a fiscal year made pursuant to the program established under this section exceed receipts under that program (including loan repayments) for that fiscal year. (B) Recovery required If the Secretary finds that, notwithstanding paragraph (1), the program established under this section has resulted in a net cost to the Federal Government, the Secretary shall recover that net cost from processors of domestically grown sugarcane and sugar beets in a manner determined by the Secretary in regulations promulgated under subparagraph (D). (C) Recovery method The Secretary may provide for single or multiple payments by each processor of domestically grown sugarcane or sugar beets for the recovery of the net cost described in subparagraph (B). (D) Regulations The Secretary shall promulgate such regulations as the Secretary determines are necessary to carry out this paragraph. (E) Application This paragraph shall apply beginning with fiscal year 2019. . (d) Effective Period Section 156(i) of the Federal Agriculture Improvement and Reform Act of 1996 ( 7 U.S.C. 7272(i) ) is amended by striking 2018 and inserting 2023 . 3. One-year extension of feedstock flexibility program for bioenergy producers and subsequent termination (a) Extension Section 9010(b) of the Farm Security and Rural Investment Act of 2002 ( 7 U.S.C. 8110(b) ) is amended in paragraphs (1)(A) and (2)(A) by striking 2018 each place it appears and inserting 2019 . (b) Termination Section 9010 of the Farm Security and Rural Investment Act of 2002 ( 7 U.S.C. 8110 ) is amended by adding at the end the following: (c) Termination The Secretary may not carry out the feedstock flexibility program described in subsection (b) for the 2020 or subsequent crops. . 4. Two-year extension of marketing allotments for sugar and subsequent administration of tariff-rate quotas (a) Flexible marketing