World generator optimization