Percolation model for enzyme gel degradation