better handle data sets of all 0s