clamping to 0.1 on shrinking shape
scripted update of code from master at 6f278df clamping to 0.1 on shrinking shape