Fix rebinning, didn't rebin properly before