pub fn prefix_assign(order: &[u32], weight: &[u64], parts: u32) -> Vec<u32>
Weighted prefix of order. A zero total weight treats every cell as weight 1.
order