2nd order tweaks to automatic contours procedure
2nd order tweaks to automatic contours procedure