Optimized attempt_ext