Merge compression, closes #4.