work out new gini impurity based old one.