SparseVector::assign: it is not always possible to reserve according to given non-zeros.