Wave multihop algorithm implementation