Design Water Networks through MINLP Formulation: An Algorithm to Find the Stability Region of Parameters