Thank you! Good optics, calculations and a lot of patience.
Yes, I mean lens. And for different magnification I use different objective lens, so I calculate the depth of field and step according to the numerical aperture of the objective. And of course very steady macro rig with minimum vibrations.