Handle smooth curves.