Why is there a measurement error? If the coordinates are integers, the result will always be half an integer.