replaced priority-queue implementation with van emde boas -- naive use
meow?