merged compute_optimized_dumping_undo_att.f90 as a subroutine into the main code instead as a separate program