use sample of 4000 for the gh-pages demo