Universal dwell time optimization for deterministic optics fabrication.