Improved the tree and terrain generation