LIT Two visits, one in each loop order, each see 343 cells. Distance |x−3|+|y−3|+|z−3| puts exactly one cell at 0, the center, and the histogram sums to 343.
AMBER Taxicab is the name of that distance.
WALL The grid is not a city, and the distances are not streets.