fixed bug add reset countIter in GlobalMinimum