<climits> is needed for INT_MAX in agg2 headers