identify alloc_no for first realloc for NULL pointer