Fix for colliding streams.

Added new specialized storage. It garantees collision-free stream allocation in constant time. Also has a habbit of reusing most recently deallocated streams