optimize-binning runs on separate masses