Fixed new 'alloc_length' resizing code.