Frame time metrics (remove 0s at the end and the start of a time series)