Constrain mine count to be at most the largest number of mines we