updated VectorInit.ts