djikstra
hashes
segment-tree
