Cleanup statics.

Substitute run-time table generation with equivalent constexpr.