consider points on the edge 'inside'