mmalloc mostly done