Peel the potatoes and grate, squeeze by linen cloth until dry. Chop onions and garlic, add it and eggs to the potatoes. Chop leek into rings, add to potatoes. Grind jerky. Add spices to the potatoes. Grease baking dish with melted butter, put half of the potato mass, then put meat on the top of that, and again put potatoes. Cook for 1 hour, occasionally stirring.