Before searching, check to see if there isn't enough memory to bother.
Inline the block extension function, do a fast check for available
bytes before doing a search.
Merge branch 'develop' into new-split
error: comparison between signed and unsigned integer expressions
[-Werror=sign-compare]
Merge branch 'develop' into new-split