potential+modification+of+pSMARTIIFD+vector

sketch of modification from Andrey 5-2-12