Minimise length of travel between cells

Don't imagine it's a real performance optimisation but makes it look like the program is doing less work ;-)