Added randomized shapes.
Fixed stream ending length