Switching bounds of definite integral