One-pass running statistics