added heap walking code to reclaim.c