Calculation of bond energy change in a reaction