we may need a small map to get out of such a labyrinth. Still, this function can be banned on a hard level