handle zero and max # of maxes