add quantization segment