compute BIC