functional cuts on trees rather than roodatasets