attempt to get speedup through eager int arithmetic with temporaries