new implementation of findEscape

(work in progress)