stop NR when box-constriants defined
test fixes