setNumBlocks