at the worst moment , the ministry of food allocated several million jin of soybeans to three units of the second ministry of machine building in the northwest , including the nuclear weapons development base .