Fix quantization scheme