Added new compression mechanism that should be more stable