fm_as_segm function

Convert objects to fm_segm