cusum detector now can take bridge data as input