optimise dimensionality for persistent vectors (about 2x speedup)
instance testing for empty vectors