r406: allow to use diff clipping penalties

for 5'-end or for 3'-end
Merge branch 'master' into clip2