modular: calibrate dmax