private IBinarySearchSegmentTree BuildSegmentsSearchTree(string pathToRanges)
        {
            var loader = new FileSegmentsLoader(pathToRanges);
            var tree = new BinarySegmentTree();

            loader.Open();
            try
            {
                tree.BuildWithLoader(loader);
                loader.Close();
            }
            finally
            {
                loader.Close();
            }
            Console.WriteLine("...Search tree was built from file");

            tree.BalanceWithDSV();
            Console.WriteLine("...Search tree was balanced with DSV algorithm and became balanced search tree");
            return tree;
        }
 public void SetUp()
 {
     _fileSegmentsLoader = new FileSegmentsLoader("ranges.tsv");
     _fileSegmentsLoader.Open();
 }