changed the hint path to the max tree depth