Impurity accumulation in plasma regimes with high energy confinement