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