Added logging of number of offsets added