새 depth는 두 기존 path와 한 edge의 합이다

new ancestor에서 subtree descendant까지 거리를 계산한다.

new ancestor

depth to parent

subtree root

node_id

descendant

descendant_id
new depth