normalize gini values to avoid division by 0