Unless there is no maximum in the profile, in which case we consider for transition state searching the highest energy image.