Move interval heuristic to makeTree