How Mathematically To Model The Stockpile