Bufsize change from 0 to 10MB

The buffer is seen as empty while not the entire model has been
transferred. Maybe this helps