Index dependent nested loops parallelization with an even distributed number of steps