Updated BIND and fixed memory management issues