stopping points touching the edge