combined two lines of work
Better frontier cell guessing strategy