calculate impurity decrease vs non missing only