add threshold scale and quantile scale, update quantize scale