level ancestor and cartesian