New code for collisiondetection, still moves particles to far