add assertion after storing all offsets