Add ChunkSortedIterable interface and CuboidRegion implementation.
Modify RegionVisitor and FlatRegionVisitor to use ChunkSortedIterable.