* combine global and heap