The N-Best algorithm | Synapse