setup interleaved-stream
make index stream