MTG computation from segmentation - stage 2