I think the current implementation is not true to the comment: "s can be a collection of nodes"