Switch IDCT multiplier from (blocksize) to ceil(sqrt(qmax-qmin)))