network now determines node size by the 2 closest nodes