update fullsegment for reducing memory cost