dynamic reallocations done in serial part