Design NodeHeap and Fix BUGS!