(I) is an emerging CDE, community financial institution CDE, or CDFI CDE, and (II) was not (prior to entering into the partnership for purposes of clause (i) or paragraph (4)) affiliated with the qualified community development entity referred to in the matter preceding clause (i). . (d) Large bank affiliated CDEs required To partner with specified community development entity Section 45D(f) of the Internal Revenue Code of 1986, as amended by subsection (c), is amended by redesignating paragraph (4) as paragraph (5) and by inserting after paragraph (3) the following new paragraph: (4) Large bank affiliated CDEs required to partner with specified community development entity The Secretary shall not make any allocation under paragraph (2) to a large bank affiliated CDE for any calendar year unless the requirements of subclauses (I), (II), (III) of paragraph (3)(C)(i) are met for such calendar year applied by substituting 20 percent for 50 percent in subclause (III) thereof. . (e) Effective date The amendments made by this section shall apply to allocations made by the Secretary of the Treasury, or his designee, after the date which is 1 year after the date of the enactment of this Act. 6006. Extension and improvement of new markets tax credit (a) Extension Section 45D(f)(1) of the Internal Revenue Code of 1986 is amended by adding , and at the end of subparagraph (F), by striking the period at the end of subparagraph (G) and inserting , and , and by adding at the end the following new subparagraph: (H) $10,000,000,000 for each of calendar years 2020 through 2029. . (b) Degree of distress of targeted community taken into account in making allocations (1) In general Section 45D(f)(2) of such Code is amended by inserting the following after the first sentence: In making allocations under this paragraph, the Secretary shall take into account the entity’s business strategy, community impact, management capacity, and capitalization strategy, and the degree of distress of the communities served by the entity. . (2)