tune number of nodes