define a constant MAXNUMS for easier modification and deleted old compiled version