add contour features for sequence segmentation