Serious optimization update to move global map arrays and prevent them from being duplicated in the object files