Range min tree