Went with stack for generating terrain.