Implement vector open list for HDA* and PBNF

The code is so ugly for now.
I swear I'll refactor later on. But for now, for performance we need
more optimized (thus ugly) code here.
add instances