realloc for body