Fixed second binning bug.