Speed improvement to Cube Raycasting