remove for(auto f:fs)  to iterator

remove for(auto f:fs) because sharcnet compiler  is not support C++11x