compaction function