
previous implementation was not thread/stream safe, since it used constant memory new implementation doesn't use any global objects, so it is thread/stream safe
previous implementation was not thread/stream safe, since it used constant memory new implementation doesn't use any global objects, so it is thread/stream safe