Added unfold function to produce streaming BitVector and tests