Optimizations

Significant optimizations for particle emitters type 2.