Fixed templates so swig can wrap vector<pair<int64_t,size_t>>