CollisionSolver - main part