fixed changing grid size and number of mines