Reuse allocated memory