On sensitive and weighted routing and placement schemes for network function virtualization