use range of points to compare against