Wraps packets of streams into array