use lambda/lmax instead of qscale/qmax as end check for vbv retry