Fixed stopping condition.