Consider returning both `flow_value` and `flow_dict`. The user should not need to redo the math to get `flow_value`.