Implement bare minimum changes required for a billion digits of pi with GMP back end.