estimate_compaction function

Estimate Core Compaction