When either collision is selected, separates particles using splitting
algorithm until they no longer collide.