On the use of tree-indexing methods in transportation algorithms