set int constraint