Protein chain packing and percolation threshold