Create compaction.py