prevent assert failure with negative quant_offset