Updated adjacentEmptySpaces