Bounds testing for food and cell locations in environment