improvements on ParticleSystem class.