for ( int i=0; i<=vec_connector.size()-1&&!vec_connector.empty(); i++) {
if ( vec_connector[i].type == IN ) {
if ( vec_connector[i].cistern_connector == 1 ) {
for ( int i=0; i<=vec_connector.size()-1&&!vec_connector.empty(); i++) {
if ( vec_connector[i].type == IN ) {
if ( vec_connector[i].cistern_connector == 1 ) {