apply TC's fix for resetAllocation()
added repeated value vectors