static bh_tree *bh_create( void *lin_alloc, bh_system *system,
void *user, u32 item_count, u32 max_per_leaf ){
- assert( max_per_leaf > 0 );
+ if( max_per_leaf == 0 )
+ vg_fatal_error( "Minimum of 1 per leaf\n" );
u32 alloc_count = VG_MAX( 1, item_count );