(#2623) - compaction improvements