add idom in single function path finder