power in logn time