Variable stepMaxDefConst

stepMaxDef: number = ...

Set a maximum to guard against number overflow.

Should be (2**15)-1 for mediump, but seems to fail above 2**13.

SO