Complete heap module