tree deletion and mirroring tree