modified String hashing and collision logic to search bufsize/10 consecutive
locations in the current buffer before allocating the next one.