Use recursive pow function (faster)