Added resettable peak byte counter

Introduced global variable last_peak_bytes, along with function to
reset it to zero.

Added resetting logic to both distributed and local BDD manipulation,
and to data flow tests.