Improve performance of `--nth` option (#90)