slice size reallocation was missing
Merge pull request #4 from MartinStolle/master

slice size reallocation was missing