calibrate zero and full