Fix for colliding streams.

Added new specialized storage. It garantees collision-free stream allocation in constant time. Also has a property that reuses most recently deallocated streams