I believe that I tried that simpler patch and that worked, meaning the loop did not end with an intialAlloc failed message, but my PR (pull reauest) also works and it also means that the loop does not end with an initialAlloc failed. I have to look at the code in sqAllocateMemorySegmentOfSizeAboveAllocatedSizeInto() and at the code for using sbrk() in the case of the stack interpteter.