In the below snippet, the case relativeOffset + 32 == _input.length is fine because only calldata up to relativeOffset + 31 will be loaded. This can cause unnecessary reverts when adding leaves in chunks that lead to equality in the below condition, but it is always possible to add them s.t. the last leaf in the call that would have failed is accompanied by the next one, and then the call succeeds.
