To ensure we can convert BSV to SparseVector correctly when there are used elements, we should use

https://github.com/scalanlp/breeze/blob/master/math/src/main/scala/breeze/linalg/SparseVector.scala#L54

with `activeSize < index.length`.