Generate less garbage when performing gathering writes