leaf to root path