automatically add contour to output if completely overlaps