Changed totalBlocks to expect inside computeNumBlocks