Improved dual contour averaging.