Calculating Digits of Pi with Collisions