improved KRangeTree printing