; relating to ineligibility of dangerous sex offenders). (B) Section 16(f) of the United States Housing Act of 1937 ( 42 U.S.C. 1437n(f) ; relating to ineligibility of certain drug offenders). (C) Sections 20 and 21 of the United States Housing Act of 1937 ( 42 U.S.C. 1437r , 1437s; relating to resident management). (D) Section 25 of the United States Housing Act of 1937 ( 42 U.S.C. 1437w ; relating to transfer of management at request of residents). (E) Section 6(k) of the United States Housing Act of 1937 ( 42 U.S.C. 1437d(k) ; relating to administrative grievance procedure). (F) Section 6(f) of the United States Housing Act of 1937 ( 42 U.S.C. 1437d(f) ; relating to housing quality requirements). (G) Part 964 of title 24, Code of Federal Regulations (relating to tenant participation and opportunities). (3) Retention of rights Tenants occupying a replacement housing unit shall have all rights provided to tenants of the housing from which the tenants were relocated. (4) Size (A) In general Replacement units shall be of comparable size, unless a market analysis shows a need for other-sized units, in which case such need shall be addressed. (B) Bedrooms The number of bedrooms within each replacement unit shall be sufficient to serve families displaced as a result of the demolition or disposition. (5) Location on site At least one-third of all replacement units for public and assisted housing units demolished shall be public or assisted housing units constructed within the immediate area of the original public or assisted housing location, unless the Secretary determines that— (A) construction on such location would result in the violation of a consent decree