Properly set number of mines