A pseudo-material method for graphite with arbitrary porosities in Monte Carlo criticality calculations