Heaps for domains implemented.