Compression logic adjusted.