For me, I don't get nighttime cramps if I take more magnesium. Still, I'd guess at least some of it is related to your ramping up your activity. Cramping in those smaller muscles in the feet and lower legs can be an issue for me late in a race, and when that happens, it's because I haven't paid as much attention to the small stabilizers in my training as I have to the larger "drive" muscles that do most of the work. Very likely your whole gait is different than it was before your surgery, and it's those stabilizer muscles that have to adjust to work they may never have done before. Probably you're not going to want to increase distance at the same time you're hiking a more technical trail than you've been used to.
And keep up with whatever barefoot balance work you've been doing.
ETA - not sure what the weather's been like where you are, but if it's warmer and you're sweating more, I almost *always* have a period of adjusting my fluid and electrolyte (including calcium and magnesium) intake.
Last edited by OakLeaf; 03-20-2016 at 07:11 AM.
Speed comes from what you put behind you. - Judi Ketteler