respect to the remaining 42-month period of the demonstration project conducted under paragraph (1), select up to 10, but not less than 5 States in accordance with subparagraph (B) for purposes of carrying out the activities described in paragraph (2) and receiving payments in accordance with paragraph (5). The Secretary may select all States that received a planning grant in paragraph (3). (B) Selection In selecting States for purposes of this paragraph, the Secretary shall— (i) select States that received a planning grant under paragraph (3) and have successfully completed the activities described in subparagraph (C) of such paragraph