-Minor log correction;
-First commit of the step counting algorithm (untested);