check overflow & clamp
1 file changed