def get_initial_path_helper(node):
    """Compute the initial path label of a node recursively."""
    if node.parent == None:
        return ''
    else:
        return node.parent.get_path() + node.edge_label[0]
