merge positions