Spatial fragmentation of industries by functions