 					(width + block.x - 1) / block.x,
 					(height + block.y - 1) / block.y);
 
-#if 1
 				makePathMask << <grid, block >> > (
 					paths.ptr(),
 					rays.ptr(),

		&prevPos,
		mtxs);

	bool isInsideX = (0.0 <= prevPos.x) && (prevPos.x <= 1.0);
	bool isInsideY = (0.0 <= prevPos.y) && (prevPos.y <= 1.0);

	if (isInsideX && isInsideY) {
		int px = (int)(prevPos.x * (width - 1) + 0.5f);
		int py = (int)(prevPos.y * (height - 1) + 0.5f);


		cur,
		outSurface,
		ix * sizeof(float4), iy,
		cudaBoundaryModeTrap);	
}
#endif

