Adds all constraints