refactor malloc's expand_heap to share with __simple_malloc