Fix previous commit in FillN with auto-binning when number of entries larger than buffer size