Added check to skip constraint calculation

skip accumulating force if particle is compared against itself