Selection: Range.toRange algorithm