Improve terrain generation