Compaction strategy - DO NOT MERGE YET

I'm working on docs and more tests - please do not merge.