Revert in-house pow10 (d80a3ea) and fix oss-fuzz/16922

Probably can be fixed but merging it was wrong so let's revert.
2 files changed