Probably I'm missing something, but it makes sense to call `subsamples` with `n == 0`?