Adjusting nodes to number of listeners