int x1 = Math.min(x0 + manager.tileWidth, width);
int y0 = manager.tileWidth * (jobId / xjobs);
int y1 = Math.min(y0 + manager.tileWidth, height);
double[] samples = scene.getSampleBuffer();
final Camera cam = scene.camera();
long jobStart = System.nanoTime();
if (scene.pathTrace()) {