Change type for nbVect()