The old code simply treated the root array as a range for convenience/as an optimization.