Build lattice (fst) from n-best