Remove repitition of 'num += 2'