reswapped neighborhood and category fields