handle bootstrap compaction