Minor bug was fixed in evolutionary process
Refactoring for generate environment method