Optimize positive the writing of int/long