use reference to prevent copying vector of vector of int