Safely taking down a tree starting from the top