Create weighted tree path