Some aspects of the accuracy of the approximated position of a straight line on a square grid