add the vector length information