Replace lines curves with spheres