First version of phased terrain generation