r816: bugfix in smem - arrary not reset
r817: allow to run both ec algorithms separately

... not at the same time for now. I need to find a rule to switch to the 2nd
algorithm.