create_fst_pairs function added