assign sequence numbers to points.