modding for hadi memory config