algorithmic penalty recovery