add zeroBorder to optimize resetting state
replace Arrays#utils by own one.
suppress rewriting memory at padding
Merge branch 'more-optimize'