No this doesn't work.

This will shift the array at every missing value and the lags will not line up anymore.