http://www.sandpile.org/impl/p3.htm je to mozne