allow up to 10,000,000 candidates, but limit the max possible election year to 9999