merge z origin