add support for segmented models