blockfreq: Use a std::list for Loops