make sure to use correct point count for setting pointsourceid