Modify the lower level memory allocation routines to take size_t