tuning: use temporary variable to store max
Merge branch 'master' of github.com:d-tk/dtk-plugins-distributed