// returns number of steps static long stepAll(Steppable s) { long steps = 0; if (s != null) while ping (s.step()) ++steps; ret steps; }