speedup function xc_delay_spread()