D5 Path Tracing Algorithm Design