remove some unneccessary preallocations/