Made slightly smarter random terrain