interating over root with boundaries works
bug in neighbours