add normalizing constant