Use BFS instead of DFS when checking walls again (It's faster)