rename explored and frontier