tuning: use qvector instead of qmap