assume we need to select a group of points from a mess so how to select ? we to find the constraints of those samples.