Compensation of measuring errors due to machine with footprint