leveldb compaction improvements