Remove unnecessary 'if' statement
Prevent invalid offsets and block sizes from being used