First and last n via initial/rest
Merge pull request #1779 from megawac/samplers

First and last via initial/rest