Use log2(x) instead of log(x) / log(2)