Update genheap
Add liveness checking