Add the lowest common ancestor computation