optimize re_quant