Finishing slides for dynamic programming