merging the operation log…
Canonical keeps every materialized box exactly as the library emits it. Merge adjacent joins boxes that touch along a whole face into one larger box — the same points, fewer boxes. Partition splits every overlap along the boxes' faces, so each point is materialized by exactly one rectangular box and no two overlap. Partition + merge splits first, then joins touching boxes, so the result is both disjoint and compact. Load the example in each mode to watch the tiles collapse, split apart, then settle.