import snakes line smoothing