Added purity predictor