def addNodeToNodesList(self, n):
        if self.syncd:
            n.calcDistance(self.me)
            bisect.insort(self.nodes, n)
        else:
            self.nodes.append(n)
        self.lookup_ipp[n.ipp] = n