PSize: explicitly include <algorithm> for std::for_each