attempted to speed up sort_segment_list::add