It would be great if you could pull the duplicated int2 creation out before the if.