optimizations on CircleOfLife3d