Calculation of hydrocarbon bond dissociation energies in a computationally efficient way