Add number of nodes to simulation.