Added probabilty of correct cleanup to print_tree