Distributed Combined Space Partitioning and Network Flow Optimization: an Optimal Transport Approach (Extended Version) | Synapse