Change constants according to measurements.