Dynamics of fungal growth in stored grain