simplify priority queue, get bluesim path working again