Magnesium supplement should help but it’s more used for fast pace runners than long distance runners but maybe increasing your mag intake will help you find healthy balance while using up all those calories while running.