Added heap initialization for malloc/calloc/realloc/free.