- fixed some bugs in linking two ttfs
- dijkstra made general