fix: Tree.perm_of_string