Removed unnecessary pixelization in contours