On the origin of the North Pacific arcs