Bugfix for compaction for lagoon triangles