add first common ancestor