New TextHeap class to support the char sequence needs.