Reduce example sample size and fix bug with sample config