Improve type of log 2