changed discard_pts to list<Point *>  from list<Point> for consistency