[Olena-patches] olena-2.0-97-ged21680 Replace range class with interval and improve it.