Added loop to change number of nodes until scalability limit is reached for SS and TNess inputs.