Replace another instance of MergePath with merge_path
Use uninitialized_array with __shared__