Yes, I found out that I was adding a row of walls every iteration of the loop in the same place. I fixed it, and now what’s left is to remove a part of wall on each side. But despite what I’m doing, the removal happens totally randomly, as if I’m removing random instances from the whole mesh array instead of separate wall arrays.