Integrate lower and upper bound