optimal exercise duration