changes for rmalloc, rmfree, malloc.c