In readPreimage, when _offset + 32 == length + 8 then datLen_ will be 32 and we dont need to enter the if statement but still do because of the >= comparison operator.
