private static FeatNode getNode(Long parentId, Long featId) {
        if (containedFeats.contains(featId)) {
            for (FeatNode n : nodes.values()) {
                if (n.getFeat() == featId) {
                    nodes.get(n.getId()).getParents().add(parentId);
                    System.out.println("Node returned withour creating new");
                    System.out.println("Parents updates for: " + n.getFeat() + " New parents size: " + n.getParents().size());
                    return nodes.get(n.getId());
                }
            }
        }
        System.out.println("New feat created as child for " + nodes.get(parentId));
        return new FeatNode(parentId, featId);
    }