MTG computation from segmentation - stage 1