merge paths and the 2 versions