Went with explicit specialization of vecn class for each dimension, much better.