Create indexContours