limit encode stream chunk flood

added buffer to encode stream to bundle all micro chunks