overload filter() with a version that takes only one argument, so that it doesn't constructor empty `std::vectors` at every time point.
overload filter() with a version that takes only one argument, so that it doesn't constructor empty
std::vectorsat every time point.