Discovery: How does the compaction work?