add the calculation of contact overlap ratio