I think the problem is the "/det" division.
With high zooms, the divisions should be done at the end to avoid rounding problems.
I think the problem is the "/det" division.
With high zooms, the divisions should be done at the end to avoid rounding problems.