Multiple change point detection and data stream generation for writelatex draft