[25] PRECISION constant is added, code is refactored