Optimize compression/decompression some more