cmp: found a much simpler way to parse offsets