Do not use pow and log10 methods