Adding constraints based in previous model