When length == MAX_BLOCK_SIZE does this yield totalBlocks = 1 or 2?