A multiple bash threads script to compute mic quickly