pub fn rand_gen_properties(
    inprops: FstProperties,
    weighted: bool,
) -> FstProperties