I would recommend you try to design your software without limiting the number of matches. Why not make the number of matches a setting? Programmers are always making the mistake of saying "we'll never run-out of ______." You might be too young to remember
Y2K, but I recommend reading about it.