I think the qrec affects the end of recording as well. So you could set length to max and manually stop the recording quantized to the value of your choice to get a recording of 128 steps if that makes sense.