simple path merging