Updated stream buffer - catches out of mem on resize