yet another raytrace
obv fix
tune raytrace to be more correct