Improved borders can drive broad economic benefits but only if the right measures are taken