shorten time of xcorr test