handle lossy case for dequantization