Update expansion to not output free-floating nodes.
Clean up compaction specs.