Optimal pipeline decomposition and adaptive network mapping to support distributed remote visualization