adding new LSProgram extension: dynamic penalty weights adjustments