support cross-entropy impurity