beginning work on max number of nodes