removed 3 magic numbers in particle system