removed framing from path-finder and replaced with simpler concatenation to make it faster