forgot to check if the space was actually open for the diagonals