Fixed the block time formula to be include the for loop count in determining each block time