If samples=0 default to no-summarization