Material requirements planning with flexible bills-of-material | Synapse