Add option to summarize capped samples.
Add tests.