// packets start out as minimal when received from a terminal. The path type is changed off of minimal if/when the packet takes a nonminimal path during routing
if(cur_chunk->msg.last_hop==TERMINAL){
cur_chunk->msg.path_type=MINIMAL;
}
if(!isRoutingAdaptive(routing))
{
cur_chunk->msg.path_type=routing;//defaults to the routing algorihtm if we don't have adaptive or prog-adaptive routing here