A minor approximation is used: the reference density is used instead of the real one, which would require a numeric solution.