Subgraph HEAP