added tool for checking integral limits