Batching and Optimal Multistage Bipartite Allocations | Synapse