Since unstuff_bits only supports 128bits, instead of subtracting the correct amount of bits with the offset array, use % 128.
Since unstuff_bits only supports 128bits, instead of subtracting the correct amount of bits with the offset array, use % 128.