changed random terrain logic in map generator