fb/dijsktra.cpp: finished heap.