calculate new number density sums