working quantization for m=2