Organizing the diffuse code