added number of nodes to eliminate