Fixed infinite food
Fixed recreateStructure exceptions