Thanks to @morveman / @morveman_test for an implementation of calculating with numbers in scratch at a high precision even with long integers.
> What is this? This is an engine that allows you to compress a string, consisting of numbers into base 16384 - using unicode. This hopefully allows you to compress integers so they take up less space - but the (de-)compression algorithm is still quite slow and would take probaply even a few minutes for larger amonuts of data.