playing with detection of paths from points