This allows the last byte to be interpreted correctly, by not allowing the cursor to move further than the max bits to read.