public void reset() {count = 0;assert forwardCount == 0: "pos=" + pos + " forwardCount=" + forwardCount;}
public void Reset(){count = 0;Debug.Assert(forwardCount == 0, "pos=" + pos + " forwardCount=" + forwardCount);}