I have a nested loop code as follows and I would like to vectorize it to speed it up.The problem here is I have a "do... while" in the nested loop, and number of times that the "do...while" loop runs are different across different array element.Is there some clever way to vectorize this nested loops?