reduction sum of blocks