Sounds like you want a lisp routine that will execute a "break" at any and all intersections.

The lisp routine you are looking for was written about 9 years ago by CAB (Charles Alan Butler) and...