refactor constraint helper
add support multiple value for proc constraint