Find Greatest Value Below Threshold in Binary Tree