first version of new re-alloc algorithm runs