diffusion: trying to understand cumulative sums