calcPositions
calcPositions(num, blockSize)
returns vector with number of blocks, start - and stop position of last 2 blocks