"magic number" 10000. Use instead static const size_t precision = 10000