Make `compute_overlap` a wrapper around `_compute_overlap`.