Terrain Decomposition for Procedural Synthesis