do not do zero out memory streams when its non neccessary (gave another 3% of performance)