Removed unnecessary conversion of high dimensional global var