rerooting
topology