TJ/JJ: environment to set the maxheap.