grow buffer if chunk have great size
Merge pull request #78 from ahiipsa/master

grow buffer if chunk have great size