table spacing: add support for tuning n-basis