simplify constraint checking logic so that it can take better advantage of future optimizations
simplify constraint checking logic so that it can take better advantage of future optimizations

agentm/project-m36,agentm/project-m36,agentm/project-m36,agentm/project-m36,agentm/project-m36