Struvite, the same substance that makes up kidney stones and irritates sewage plant operators, could be an effective alternative to using a limited supply of mined phosphate for crop fertilizer.