adjust definite integral