Implement a faster method to filter out beginnings of intersected curves.