Reduce complexity of SparseV#resize
Properly reduce length in Vector#resize