implement auto-compaction settings