stop NR when box-constriants defined