moved minSamplingRate to getUpperBound