setting heapFactor to 1 when history=no