bounded path search in Single2.js
handling exceptional paths in Multiple.js