Imported vectors revert to initial size when copied inside VS