Forgot to change back numnodes value to its original value