Playing around with path tracing algorithm