fix #5: added setting for punishing time threshold