{HEAD ~ What measure} to use for the cost between two neighboring devices, depends on {TAIL ~ the network} at hand 
depends on
{ HEAD ~ What measure } to use for the cost between two neighboring devices , depends on { TAIL ~ the network } at hand
HEAD HEAD HEAD HEAD HEAD HEAD OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH REL REL TAIL TAIL TAIL TAIL TAIL TAIL OTH OTH