Separated constraint processing function, making it accessible to the user