add length before values in config stream array