setting of both diaphragm and distance