Updated ContourTracer to work with offset