logest tree path