; (2) allocated among the FHA and the Secretary of Agriculture proportionally based on the costs and expenses of the Agency of carrying out the duties under this subtitle with respect to FHA and the Rural Housing Service program referred to in section 211(a), respectively; (3) collected at such time or times during each assessment year as determined necessary or appropriate by the Director