Implement data-compaction via erlang-console