- more testing for new contour algorithm ,which seems to be working