configurable dimensionality
add performance instrumentation