Rewrite add_offset_map_flatten.