Solves the problem of accepting the original trees