changed how to select bin edges