Scotch tape is the first item a photograph should have in his camera bag.
I bought a number of lenses, mainly old ones and most were not satisfying in terms of homogeneity. To different extents, you always end up with a blurrier corner or border and hesitate to throw the lens in the bin (good for the general level of photography, bad for the environment; or resell the lens, worse for general photography, better for the environment).
But there is a different path: scotch tape.
I have red long time ago, that when Minolta released the famous MC 58 f/1,2, the lens was “coupled” with a body, often a SRT 101, and that such lens was “shimmed” for that body.
In other words, and especially for wide angles or wide aperture lenses, the register tolerance is quite narrow and, even for analogue photography, slight register differences might impact the quality of imagery.
Nowadays, 24 M pixel is for the people and I could not imagine the impact of manufacturing tolerances on 62 M Pix sensors.
Back to the point: scotch tape is 20 microns thick and, fortunately, bad quality tape is a little less, which provides for interesting options.
Grab your lens and focus precisely on each corner and note the differences.
Here is an example of correction: If on a given corner, focusing distance is less than on other corners (i.e. 5 meters rather than infinity), that means that adequate sharpness is achieved if, for this corner, the glass is farther from the focal plane. To achieve same focusing distance you should then locally add some thickness to the lens mount so all corners would focus at same distance.
Such shimming should be performed on the opposite corner since the lens flips the image projected onto the sensor.
Through trial and error, in a number of cases, you will be able to obtain a better lens. Lenses that suffered from bad manufacturing or have lived traumatising events won’t be corrected through this process.
Zooms can also be corrected the same way provided that the imbalance does not affect a group rotating in the body of the lens in which case zooming or focusing would rotate the shimming direction which would lead to unmanageable results.
Shorter focal length is more sensitive to correction than longer one and, if quite often you only need one layer of tape for a 28 mm, you might need 4 or 5 at 200mm. Sometimes miracles occur and no shimming is needed at all.
Pursuing this path, a pattern might emerge where you would note that a majority of lenses require to be shimmed on same side. Legitimately you would consider that the problem does not lie in the lenses but in an external element: the camera cage, the internal positioning of the sensor, or the adapter if you are using a mirrorless camera.
You gain the right to mitigate the number of the layers of tape, reporting the correction on the adapter or the camera mount and minimising the layers of tape on all the lenses.
I realised statistically that the mount of my A7II was crooked by the value of a layer of tape and restarted the whole process.
Eternal gratitude to Richard Drew, creator of masking tape, and benefactor of photographers around the world.