Check both sides for integer operation optimisation