figuring out how much you need to stockpile