log statements for END_NODE - mysteriously fails for long seqs. Next: use log probs.