robust to overlapping bins