public static void filterNodeStates(Set<UUID> uuids, List<String> paths,
SegmentNodeState state, String path) {
Set<String> localPaths = new TreeSet<String>();
for (PropertyState ps : state.getProperties()) {
if (ps instanceof SegmentPropertyState) {
SegmentPropertyState sps = (SegmentPropertyState) ps;
RecordId recordId = sps.getRecordId();
SegmentId sid = recordId.getSegmentId();
UUID id = new UUID(sid.getMostSignificantBits(),
sid.getLeastSignificantBits());
if (uuids.contains(id)) {
localPaths.add(path + "@" + ps + " [SegmentPropertyState@"