fix for segmented stacks and passing params between jumps
some C++11 examples