make variable unit latency unit inputs sinks and outputs sources