limit number of nodes (changed GLOBAL var)