don't copy the full vector of tracks; use const vector &