converts all maxtimes to ints