I didnt halve. I integrated over the full contour defined, got the integral over the two semi circles =0, applied let z=-z then combined the integrals to get limits epsilon to R. In the process you get these other integrals, some which go to zero, and some which go to, collectively, pi cubed on...