Some ideas about calibration algorythm.