implemented calculation of d_EBI & d_SBI2