A fast algorithm for determining the propagation path of multiple diffracted rays