Firstly, the optimized geometries were manually examined to ensure they represent the intermediates according to the particular mechanism. In particular, the bond length between the palladium atom and the corresponding carbon atom was given a maximum value of 2.4 Å to filter out inappropriate intermediates where there is no stable Pd-C bond .