delete the shared tree
