fixed getPercentileBin