optimizations to gini impurity