Return 0 when overflow