equations for packet and vm composition