Improved memory management for particle system
added missing file