disable the contour mapping
remove debugging output and simplify code