Compute minimum peak

1. apply pseudo code
2. create compute_map and node_mem in new method
Hi, this situation only occurs at the first time we got current_mem, but no min_mem, and at this time the order_index is 0, exactly the index of min_mem order now