Sum computation.