Option to have HMM work on N consecutive rows/frames