better initial states generation.