debugged bend point penalty problem