Scalable and cost-efficient algorithms for VNF chaining and placement problem | Synapse