ParticleCounter: move slice array access out of inner loop