grow buffer if chunk have great size