optimize. mb_at(cache, offset + i) -> seg->mb_array + i
optimize. remove segment_of