scan_allocate
rem = scan_allocate(nd_region, nd_mapping, &label_id, n);
rem = scan_allocate(nd_region, nd_mapping, label_id, rem);