This is the slicing that Tim G and I came up with to accomodate for missing values from time domain.