Adds the switch to choose number of nodes