Makes avgLog computation normalized correctly.