extact stream detector from trifles/changepoint