Labor markets and integrating national economies