adding compute_name_dist to init, as inteneded