Import lowest_common_ancestor