Implemented combine contour points