part is a set, _node_names is a list, so the list comprehension will raise an error
I could cast to array, but this seemed readable