Create Longest Consecutive Sequence (pyemma)