fixed variable QP with multithreading
only adjust QP once in each quantization-group for efficiency