Issue #207 fix realloc size