Make sure that we don't compute a block size larger than MAX_BLOCK_SIZE.