Print number of reduction steps.
Remove unused code.
Remove unused replace_shared_computation( ).