optimised hiddenNonMines.