You pretty much just have to condition yourself. I presume you cramped at the latter stages of your match. The fitter and stronger your muscles are, the less chance of cramp. That's the best i can come up with. Take Dominik Hrbaty, he doesn't cramp frequently, he cycles up mountains for leisure!