Avoid reinitialization of target if the root is the same only