Compute minimum peak

1. apply pseudo code
2. create compute_map and node_mem in new method
This should be 

all(compute_map[v][0] for v in deps)

We need the check if the destroy dependency are also computed.