fixed some problems with the implementation of the reuse log that were really slowing down simulations