to quantize