GetNextStates() finished