Particle loop performance improvement