Reimplement BIND, replaced g_hash_table with dynamic array