 			-1.f <= center.x + dimVec.x && center.x - dimVec.x <= 1.f &&
 			-1.f <= center.y + dimVec.x && center.y - dimVec.x <= 1.f &&
 			 0.f <= center.z + dimVec.x && center.z - dimVec.x <= 1.f &&
-			 (_level <= 8 || d_vecDot(node.vd.normal, eyeVec) >= -0.4f))
+			 ( octreeLevel <= 8 || d_vecDot( node.vd.normal, eyeVec ) >= -0.4f ))
 		{	
 			center.x = (center.x + 1.f) * frameWidth * 0.5f;
 			center.y = frameHeight - (center.y + 1.f) * frameHeight * 0.5f;


	_h_startIndex = 0;
	_h_endIndex = obj.data.jobCount;
	_h_level = obj.data.level;
	rasterize
	( 
		obj, 

			obj.data.d_animation, obj.data.boneCount,
			thrust::raw_pointer_cast( m_depthBuffer.data() ), thrust::raw_pointer_cast( m_voxelBuffer.data() ),
			m_frameWidth, m_frameHeight,
			animationFrameIndex,
			octreeLevel
		);
		
		_h_startIndex = _h_endIndex;		
		cudaMemcpyFromSymbol(&_h_endIndex, _travQueuePtr, sizeof(_h_endIndex));		
		octreeLevel++;
	}
	while (_h_endIndex - _h_startIndex > 0);
	
