Memory handling: exponentially-increasing alloc size