corrected compression to quantization