added seg_size flag to element out list for LM model