import itertools


def build_node_pairs(graph):
    """ Builds all possible odd node pairs. """
    odd_nodes = graph.odd_nodes(full=False)
    print('  Odd nodes:', str(odd_nodes))
    return [x for x in itertools.combinations(odd_nodes, 2)]