terminate take as soon as there are enough values
Merge pull request #16 from ubolonton/take-termination

terminate take as soon as there are enough values