Abstracted the calculation of denominator's expression