Fix overflow at high sigfigs.

Fixes #3.