Init allocator for bst