centralise everything in a single file (HEAPFIELDS) and generate them from a Prolog script (buildheap).