made upperBound and lowerBound polynomials