Algorithm 2 shows the forward pass in which the node pruning is performed.
for any node, if the best score of sequence which passes such a node is less than the lower bound lb, such a node is removed from the lattice.