rangeTree finalize