set threshold to determine the POI