Remove log2() usage.