Faster and better raycasting pt.3