calc_max out.