Afghanistan and Pakistan share a 1,640-mile border