Fix int16 out of range error on delta