Added an integer-interval pmap function.
Replaced for loop traverse_index call with a pmap.