Forward-backward algorithm
 
x
OK