MaxTreeNodePath problem solved