Changed the base of log to 2