Accumulation of particles in propagating fronts