f g x g f f x f h x h g x f' s x y y f' y x s x rand x x rand x rand s x s 1 f 1 h 1 rand 1 g 1 f' 3 FULL