Function determines the minimum thickness of an optical system