adding charge binning to ps, trying to fix compatibility issues