Iran has taken a beating but it retains the advantages of geography, time and a superior tolerance for pain