added basic raytracing on blocks