How is information preserved on the surface of a Black Hole? Is there an compression algorithm for storing the information?

What if there is a uniformaly complex object dropped to the black hole? Then there will be no compression of information.

How is there enough space on the surface (2D) to encode something which is in 3D. The planck distance is the same in the black hole as in the universe. So how can the black hole encode information about an object in 3D that is both uniformly complex and as dense as the black hole? Or is there a law that says 3D objects cannot be more dense then some level - which is sufficiently sparse so that when collapsed to a black hole all its information can be encoded on the surface of a sphere? Has this limit been found - given that a sphere has the lowest surface to volume of any object: https://en.wikipedia.org/wiki/Surface-area-to-volume_ratio ?


Edit: added '3D' to first sentence of 2. question.
How is information preserved on the surface of a black hole? 


We have no evidence that it is. We have some claims of this nature, associated with the holographic principle. But I'd say the physics concerned is hypothetical and speculative. It isn't in the same league as general relativity, which is one of the best tested theories we've got. See Clifford M Will's paper on the confrontation between general relativity and experiment for details of that.   


  Is there an compression algorithm for storing the information? 


Not that I know of. 


  What if there is a uniformly complex object dropped to the black hole? Then there will be no compression of information.


Instead there will be a gamma ray burst. Friedwardt Winterberg wrote about this. See the 2013 AMPS paper an apologia for firewalls. Tucked away in the conclusion is footnote 31, containing a reference 87 to Winterberg’s 2001 paper gamma ray bursters and Lorentzian relativity. I'm confident that Winterberg is essentially correct.   


  How is there enough space on the surface (2D) to encode something which is in. The planck distance is the same in the black hole as in the universe. So how can the black hole encode information about an object in 3D that is both uniformly complex and as dense as the black hole? 


I don't think it can. 


  Or is there a law that says 3D objects cannot be more dense then some level - which is sufficiently sparse so that when collapsed to a black hole all its information can be encoded on the surface of a sphere? Has this limit been found - given that a sphere has the lowest surface to volume of any object: https://en.wikipedia.org/wiki/Surface-area-to-volume_ratio?


As far as I know there is no law or limit. And as far as I know there is no evidence to support the holographic principle. I for one do not take it seriously. But please advise if you receive any useful answers about this subject on any other website.