naive crossword grid optimisation