Assign tags AFTER properly generating offsets.