contour comparison tweaking