Implemented percolation.