added out assert to the new zlibrsteram