retain uniqueness of cotrees for non-connected cographs by inserting extra root node