fixing 2D CParticle constructor