Fixes for segmented model
VCS distance measure using segmented model.