Remove 3D base case code, which does not appear to actually improve our
performance.