recursion = log(n) idea.