Node merging minor improvement