lock to zero using Math.max
recompile
new sourcemaps