Block Compressor
Compresses a flat list of block entries into connected regions using BFS.
Groups blocks by type, finds connected components (6-neighbor adjacency), and reports each component as either a single block or a bounding-box region.