branch no longer incorrectly adds nodes to closed.
This resulted in more closed nodes than nodes in total.
Sorting of closed list was slower than neccessary.