Parallellized and optimized version of ContourTracking