make small optimisation to ++ operator