quantization tweak