adds option only_stats for low memory scenarios.
Merge pull request #36 from vchuravy/vc/low-memory

Adds option only_stats for low memory scenarios.