minor optimizations in some of ParticleSystem's methods.