improve PointSet impl