resolveTree