storeBlocks returns z-coord of last row of blocks