bug fix: mass flux calculation for block boundaries