Element 'dynamic programming method'