avoid slicing so much - much better performance

less gc, less cpu usage, etc.
Merge pull request #8 from vikstrous/perf

avoid slicing so much - much better performance