fix setconstrLB/UB logic