scan points at the edges