normalize doc gammas