I ended up not upgrading my ants enough, having 40 lvl 1 and 19 lvl 3, leading to me being incapable of winning fast enough to harvest corpses before the next wave. This culminated in me running out of food by wave 30, having no way to open further underground areas.