Compute minimum peak

1. apply pseudo code
2. create compute_map and node_mem in new method
Swap those 2 lines. If we have as output the + first, then the outer, the cvm will produce the best order! As we want to test if the algo find the best order when the current don't do the reverse.