nodes are represented at set (and not as map)