v.resize(k-1)