Optimized shadows calculation (stop traversing of kd-tree when shadow ray intersects at least one of scene objects)