Fix #637 -  bf causes segfaults if blocksize is too big #637