click to add points and make a non intersecting polygon