First try of global path tracing