Add RichStream object to provide some util methods on stream (so far pre-sizing of inner streams is implemented)