Expulsion of the impurity of the well